import * as React from "react";
import {createStackNavigator} from "@react-navigation/stack";
import {TabTwoParamList} from "../../types";
import TabTwoScreen from "../../screens/TabTwoScreen";
import NotFoundScreen from "../../screens/NotFoundScreen";

const TabTwoStack = createStackNavigator<TabTwoParamList>();

const TabTwoNavigator=()=> {
    return (
        <TabTwoStack.Navigator>
            <TabTwoStack.Screen
                name="TabTwoScreen"
                component={TabTwoScreen}
                options={{headerTitle: 'Tab Two Title'}}
            />
        </TabTwoStack.Navigator>
    );
}

export default TabTwoNavigator;